/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lesson3.com.demo.inner.not;


public class Car {
    
    private float fuelLevel;
    private Engine eng;
    
    public void run(){
        // affect fuelLevel;
        fuelLevel-=0.02F;
    }
    
    public void addGas(float amount, double moneyMoneyMoney){
        // check money... THEN
        fuelLevel+=amount;
    }
    
    public float siphonTankForLawnMower(float  amount){
        fuelLevel-=amount;
        return fuelLevel;
    }
    
    public float getFuelLevel(){
        return fuelLevel;
    }
    

}
